package com.ytjj.qmyx.mall.mapper;

import com.ytjj.common.enums.CounponMoneyEnum;
import com.ytjj.qmyx.users.model.UsersBalanceRecord;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 *
 *  *
 **/
public interface UserBalanceDao {
    int countByUserIdType(@Param("userId") Integer userId, @Param("type") CounponMoneyEnum type);
    Integer countByUserIdTypeToDay(@Param("userId") Integer userId, @Param("type") CounponMoneyEnum type);
}
